import httpInstance from '@/utils/http'
//获取banner
export function getBannerAPI(param={}) {
  //默认1，商品为2
  const {distrbutionSite ='1'}=param
    return httpInstance({
        url:"/home/banner",
        params:{
          distrbutionSite
        }
    })
}

/**
 * @description: 获取至尊推选
 * @param {*}
 * @return {*}
 */
export const findNewAPI = () => {
    return httpInstance({
      url:'/home/list'
    })
  }

